/** * Returns true if the given number is negative. * @param n - The number to check. * @returns true if n is less than 0, otherwise false. */ export function isNegative(n: number): boolean { return n < 0; }